package com.bdmc.report.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.bdmc.common.core.domain.BaseSingleEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.bdmc.common.core.domain.BaseEntity;

import java.time.LocalDate;
import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;;

/**
 * 发动机运行时长对象 report_car_time
 *
 * @author bdmc
 * @date 2022-08-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("report_car_time")
public class ReportCarTime extends BaseSingleEntity {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "time_id")
    private Long timeId;
    /**
     * 人员id
     */
    private Long personId;
    /**
     * 车辆id
     */
    private Long carId;
    /**
     * 围栏id
     */
    private Long fenceId;
    /**
     * 数据日期
     */
    private LocalDate dataTime;
    /**
     * 开始时间
     */
    private LocalDateTime startTime;
    /**
     * 结束时间
     */
    private LocalDateTime endTime;
    /**
     * 运行时长
     */
    private Long runningTime;

}
